package com.mcz.yun4book.dao.mapper;


import com.mcz.yun4book.entity.Type;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;


public interface TypeMapper extends JpaRepository<Type,Integer> {

    Page<Type> findByNameContainingOrderByIdDesc(String name, Pageable pageable);

}
